Direct clamping of external ventricular drain